package com.lili.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lili.pojo.Classes;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lili.vo.request.officer.ClassesReqVO;
import com.lili.vo.request.officer.CountVO;
import com.lili.vo.response.officer.ClassesRespVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface ClassesMapper extends BaseMapper<Classes> {

    List<String> selectByExamId(Integer examId);

    IPage<ClassesRespVO> selectPageList(IPage<ClassesRespVO> page, @Param("vo") ClassesReqVO vo);

    void delBatch(List<Integer> ids);

    List<CountVO> selectCountByClassId();

}




